const MD5 = require('md5');
const $_ = require('lodash');

let TAG = function (opts) {
  this.groupName = opts.typeName;
  this.subOptions = opts.selfTag;
  this.min = opt.min;
  this.max = opt.max;
  return this;
}

function handleOpen($event) {
}
function isHeart(str) {
}
function sortingAbnormal(str) {
}
function handleMessage($event, msg) {
}
function handleClose($event) {
}
function handleError($event) {
}

TAG.prototype = {
  __checkItem:[],
  getChecked: function () {
    return this.__checkItem;
  },//start
  stop: function (e) {
    return this;
  },//stop
  send: function (msgObj) {
    return this;
  },//send
  _$heart: function (boolean) {
    return this;
  },//心跳包
  _$autoLink: function () {
    
  },//自动重连
}
export default TAG;
